<div class="bodytext">

<h3>Registration Form for <?php echo $proj_config['project_name']; ?></h3>

<?php include(BASEPATH . 'views/messages.php'); ?>
<br/>
<form class="frm" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="hidden" name="mode" id="mode" value="check" />
	<?php if(isset($actions['congmsg']) && !empty($actions['congmsg']) && !empty($actions['web_code'])){ 
		include(BASEPATH . 'views/webcode.php');
	}else{ ?>
	<fieldset>
		<legend> Please Enter User Details </legend>		
		<table cellpadding="0" cellspacing="0" border="0" width="70%">
			<tr>
				<td width="40%">
					<label for="user_name">Username</label>
				</td>
				<td width="60%">
					<input type="text" name="user_name" id="user_name" value="" class="inp" maxlength="25"/>
				</td>
			</tr>
			<tr>
				<td colspan="2">&nbsp;</td>
			</tr>
			
			<tr>
				<td>
					<label for="user_pwd">Password</label>
				</td>
				<td>
					<input type="password" name="user_pwd" id="user_pwd" value="" class="inp"  maxlength="25"/>
				</td>
			</tr>
			<tr>
				<td colspan="2">&nbsp;</td>
			</tr>
			<tr>
				<td>
					<label for="user_co_name">Company Name</label>
				</td>
				<td>
					<input type="text" name="user_co_name" id="user_co_name" value="" class="inp" maxlength="250" />
				</td>
			</tr>
            <tr>
				<td colspan="2">&nbsp;</td>
			</tr>
			<tr>
				<td>
					<label for="user_co_phn">Company Phone No.</label>
				</td>
				<td>
					<input type="text" name="user_co_phn" id="user_co_phn" value="" class="inp" maxlength="25" />
				</td>
			</tr>
            <tr>
				<td colspan="2">&nbsp;</td>
			</tr>
			<tr>
				<td valign="top">
					<label for="user_co_add">Company Address</label>
				</td>
				<td>
					<textarea name="user_co_add" id="user_co_add" class="inp" rows="3" cols="15"></textarea>
				</td>
			</tr>
            <tr>
				<td colspan="2">&nbsp;</td>
			</tr>
		</table>
	</fieldset>
        <fieldset>
		<legend> Please Enter Domain Details </legend>		
		<table cellpadding="0" cellspacing="0" border="0" width="70%">
                    
                    <tr>
				<td width="40%">
					<label for="d_name">Domain name (ex: www.abc.com)</label>
				</td>
				<td width="60%">
					<input type="text" name="d_name" id="d_name" value="" class="inp" />
				</td>
			</tr>
			<tr>
				<td colspan="2">&nbsp;</td>
			</tr>
                    
                </table>
        </fieldset>

        <table cellpadding="0" cellspacing="0" border="0" width="40%">
                    
            <tr>
                    <td colspan="2">
                    <input type="submit" name="btn_sub" id="btn_sub" title="Submit" value="" class="btnd submit_btn" />&nbsp;
                    <input type="reset" name="btn_reset" id="btn_reset" title="Clear" value="" class="btnd clear_btn" />
                    </td>
            </tr>
            
        </table>	
		<?php }//End IF - form completed ?>	
</form>

<br/><br/>
<ul>
	<li>&raquo; <a href="<?php echo $proj_config['site_url']; ?>index.php" title="Homepage" >Homepage/Login</a></li>
	<li>&raquo; <a href="<?php echo $proj_config['site_url']; ?>about_us.php" title="About Us" >About Us page</a></li>
</ul>
</div>